from django.conf.urls import url

from .views import SeceneDetailView, CommentView, SeceneMarkView, secene_mark_list, ueditor_template

app_name = 'outlines'

urlpatterns = [
    url(r'^secene/detail/(?P<pk>[^/]+)/(?P<person_id>[^/]+)/(?P<type_id>[^/]+)/$', SeceneDetailView.as_view(),
        name='secene'),
    url(r'^secene/comment/(?P<secene_id>[^/]+)$', CommentView.as_view(), name='comment'),
    url(r'^secene/mark/$', SeceneMarkView.as_view(), name='mark'),
    url(r'^secene/ueditor_template/(?P<secene_id>[^/]+)/(?P<which_image>[^/]+)/(?P<top>[^/]+)/(?P<left>[^/]+)$',
        ueditor_template, name='_ueditor_template'),
]
